Current Location: Home> Function Categories> mt_getrandmax

mt_getrandmax

Display the maximum possible value of a random number
Name:mt_getrandmax
Category:math
Programming Language:php
One-line Description:Displays the maximum possible value of the random number.

Definition and usage

mt_getrandmax() displays the maximum possible value of the random number.

Example

 <?php
echo mt_getrandmax ( ) ;
?>

Try it yourself

grammar

 mt_getrandmax ( )

illustrate

Returns the largest random number that can be returned by calling mt_rand() .

Similar Functions
Popular Articles